package com.secret.chain.secretchain.service;

import com.secret.chain.secretchain.domain.entity.Article;
import com.secret.chain.secretchain.domain.entity.Like;
import com.secret.chain.secretchain.result.Result;
import org.springframework.stereotype.Service;

@Service
public interface ArticleService {

    Result queryById(Integer id);

    Result deleted(Integer id);

    Result<Void> save(Article article);

    Result put(Article article);

    Result<Void> add(Like like);
}
